package fileutils

import (
	"io/fs"
	"log"
	"path/filepath"
)

func Walk(root string, walkFn fs.WalkDirFunc) error {
	return filepath.WalkDir(root, func(path string, d fs.DirEntry, err error) error {
		log.Println(path,"<-", root)
		return walkFn(path, d, err)
	})
}
